package com.zzw.apigateway;

import java.util.TimeZone;

import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

@EnableZuulProxy
@SpringCloudApplication
public class ApiGatewayApplication {

//	@Bean
//	public AccessFilter accessFilter() {
//		return new AccessFilter();
//	}

	public static void main(String[] args) {
		// 设置时区
		TimeZone.setDefault(TimeZone.getTimeZone("GMT+8:00"));
		SpringApplication.run(ApiGatewayApplication.class, args);
	}
}
